//
//  Category.h
//  mentor
//
//  Created by 孙宏峰的MacPro on 2018/7/3.
//  Copyright © 2018年 孙宏峰的MacPro. All rights reserved.
//

#ifndef Category_h
#define Category_h

#import "HFNetWork.h"
#import "CurrentUser.h"
#import "BaseViewController.h"
#import "BaseNav.h"
#import "UIView+Frame.h"
#import "NSString+HFString.h"
#import "HtmlString.h"
#import "DDAlertView.h"
#import "DYToastLaebl.h"
#define KScreenWidth [UIScreen mainScreen].bounds.size.width
#define KScreenHeight [UIScreen mainScreen].bounds.size.height
//获取当前屏幕宽度，高度
#define kSCREEN_WIDTH ([UIScreen mainScreen].bounds.size.width)
#define kSCREEN_HEIGHT ([UIScreen mainScreen].bounds.size.height)
//相对357宽度的比例
#define kAUTOLAYOUTSACLE (kSCREEN_WIDTH/375.0)
//设置字体
#define kFontOfSize(ksize) ([UIFont systemFontOfSize:ksize])
/*!@brief ****   全局获取window */
#define HDkeyWindow [UIApplication sharedApplication].keyWindow
//全局获取appdelegate
//全局,self的若引用

//应用程序的版本号 格式如:1.0 , 1.0.1   1.1等
#define APP_VERSION ([[[NSBundle mainBundle]infoDictionary]objectForKey:@"CFBundleShortVersionString"])
#define WS(weakSelf)  __weak __typeof(&*self)weakSelf = self
#define kAppDelegate  ((AppDelegate *) [UIApplication sharedApplication].delegate)

#endif /* Category_h */
